<template>
  <div id="app">
    <!-- <router-link to="/about">关于</router-link> -->
    <!-- :key="$route.fullPath"  -->
    <router-view :key="path" />
    <song-play-bar></song-play-bar>
  </div>
</template>
<script>
import SongPlayBar from "views/song/SongPlayBar";

export default {
  components: {
    SongPlayBar,
  },
  computed: {
    path: function () {
      return this.$route.path.split("/")[1];
    },
  },
};
</script>

<style >
/* 引入基础样式 */
@import "assets/css/base.css";
</style>
